﻿<!DOCTYPE html>
<html class="no-js" lang="en">
<head>
    <meta charset="utf-8">
    <title>Evara - 网上购物商城</title>
    <meta http-equiv="x-ua-compatible" content="ie=edge">
    <meta name="description" content="">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <meta property="og:title" content="">
    <meta property="og:type" content="">
    <meta property="og:url" content="">
    <meta property="og:image" content="">
    <link rel="shortcut icon" type="image/x-icon" href="../../imgs/theme/favicon.svg">
    <link rel="stylesheet" href="../../css/main.css?v=3.4">
</head>
<body>
<header class="header-area header-style-4 header-height-2">
    <div class="header-top header-top-ptb-1 d-none d-lg-block">
        <div class="container">
            <div class="row align-items-center">
                <div class="col-xl-3 col-lg-4">
                    <div class="header-info">
                        <ul>
                            <li><i class="fi-rs-smartphone"></i> <a href="#">400-821-821</a></li>
                        </ul>
                    </div>
                </div>
                <div class="col-xl-6 col-lg-4">
                    <div class="text-center">
                        <div id="news-flash" class="d-inline-block">
                            <ul>
                                <li>最高可得50%的折扣 <a href="/url/prolist">查看详情</a></li>
                                <li>参与活动-节省更多的优惠券</li>
                                <li>时髦的25银首饰，今天节省35%的折扣 <a href="/url/prolist">立即购买</a></li>
                            </ul>
                        </div>
                    </div>
                </div>
                <div class="col-xl-3 col-lg-4">
                    <div class="header-info header-info-right">
                        <ul>
                            <li><i class="fi-rs-user"></i><a href="/url/login">登录 / 注册</a></li>
                        </ul>
                    </div>
                </div>
            </div>
        </div>
    </div>
    <div class="header-middle header-middle-ptb-1 d-none d-lg-block">
        <div class="container">
            <div class="header-wrap">
                <div class="logo logo-width-1">
                    <a href="/url/index"><img src="../../imgs/theme/logo.svg" alt="logo"></a>
                </div>
                <div class="header-right">
                    <div class="search-style-2">
                        <form action="" onsubmit="return false;">
                            <select class="select-active">
                                <option>所有分类</option>
                                <option>女装</option>
                                <option>内衣</option>
                                <option>男装</option>
                                <option>运动户外</option>
                                <option>女鞋</option>
                                <option>男鞋</option>
                                <option>箱包</option>
                                <option>美妆</option>
                                <option>个人护理</option>
                                <option>腕表</option>
                                <option>眼镜</option>
                                <option>珠宝饰品</option>
                                <option>手机</option>
                                <option>数码</option>
                                <option>电脑办公</option>
                                <option>母婴玩具</option>
                                <option>零食</option>
                                <option>茶酒</option>
                                <option>进口食品</option>
                                <option>生鲜水果</option>
                                <option>大家电</option>
                                <option>生活电器</option>
                                <option>家具</option>
                                <option>灯具</option>
                                <option>卫浴</option>
                                <option>汽车</option>
                                <option>配件</option>
                                <option>用品</option>
                                <option>家纺</option>
                                <option>家饰</option>
                                <option>鲜花</option>
                                <option>医药保健</option>
                                <option>厨具</option>
                                <option>收纳</option>
                                <option>宠物</option>
                                <option>图书音像</option>
                            </select>
                            <input id="keyword" type="text" placeholder="搜索商品..." v-model="keyword" @change="listProduct()">
                        </form>
                    </div>
                    <div class="header-action-right">
                        <div class="header-action-2">
                            <div class="header-action-icon-2">
                                <a class="mini-cart-icon" href="/url/cart">
                                    <img alt="Evara" src="../../imgs/theme/icons/icon-cart.svg">
                                </a>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>
    <div class="header-bottom header-bottom-bg-color sticky-bar">
        <div class="container">
            <div class="header-wrap header-space-between position-relative">
                <div class="logo logo-width-1 d-block d-lg-none">
                    <a href="/url/index"><img src="../../imgs/theme/logo.svg" alt="logo"></a>
                </div>
                <div class="header-nav d-none d-lg-flex">
                    <div class="main-menu main-menu-padding-1 main-menu-lh-2 d-none d-lg-block">
                        <nav>
                            <ul>
                                <li><a class="active" href="/url/index">主页 <i class="fi-rs-angle-down"></i></a>
                                    <ul class="sub-menu">
                                        <li><a href="/url/index">主页</a></li>
                                    </ul>
                                </li>
                                <li class="position-static"><a href="#">购物 <i class="fi-rs-angle-down"></i></a>
                                    <ul class="mega-menu">
                                        <li class="sub-mega-menu sub-mega-menu-width-22">
                                            <a class="menu-title" href="#">服装搭配</a>
                                            <ul>
                                                <li><a href="/url/prolist">女装</a></li>
                                                <li><a href="/url/prolist">内衣</a></li>
                                                <li><a href="/url/prolist">男装</a></li>
                                                <li><a href="/url/prolist">运动户外</a></li>
                                                <li><a href="/url/prolist">女鞋</a></li>
                                                <li><a href="/url/prolist">男鞋</a></li>
                                            </ul>
                                        </li>
                                        <li class="sub-mega-menu sub-mega-menu-width-22">
                                            <a class="menu-title" href="#">箱包首饰</a>
                                            <ul>
                                                <li><a href="/url/prolist">箱包</a></li>
                                                <li><a href="/url/prolist">美妆</a></li>
                                                <li><a href="/url/prolist">个人护理</a></li>
                                                <li><a href="/url/prolist">腕表</a></li>
                                                <li><a href="/url/prolist">眼镜</a></li>
                                                <li><a href="/url/prolist">珠宝饰品</a></li>
                                            </ul>
                                        </li>
                                        <li class="sub-mega-menu sub-mega-menu-width-22">
                                            <a class="menu-title" href="#">数码家电</a>
                                            <ul>
                                                <li><a href="/url/prolist">手机</a></li>
                                                <li><a href="/url/prolist">数码</a></li>
                                                <li><a href="/url/prolist">电脑办公</a></li>
                                                <li><a href="/url/prolist">大家电</a></li>
                                                <li><a href="/url/prolist">生活电器</a></li>
                                                <li><a href="/url/prolist">家具</a></li>
                                            </ul>
                                        </li>
                                        <li class="sub-mega-menu sub-mega-menu-width-34">
                                            <div class="menu-banner-wrap">
                                                <a href="/url/prolist"><img
                                                        src="../../imgs/banner/menu-banner.jpg" alt="Evara"></a>
                                                <div class="menu-banner-content">
                                                    <h4>热卖中</h4>
                                                    <h3>不要错过<br> 最近趋势</h3>
                                                    <div class="menu-banner-price">
                                                        <span class="new-price text-success">节省 50%</span>
                                                    </div>
                                                    <div class="menu-banner-btn">
                                                        <a href="/url/prolist">立即购买</a>
                                                    </div>
                                                </div>
                                                <div class="menu-banner-discount">
                                                    <h3>
                                                        <span>35%</span>
                                                        折扣
                                                    </h3>
                                                </div>
                                            </div>
                                        </li>
                                    </ul>
                                </li>
                                <li><a href="#">我的 <i class="fi-rs-angle-down"></i></a>
                                    <ul class="sub-menu">
                                        <li><a href="/url/info">我的信息</a></li>
                                        <li><a href="/url/login">退出登录</a></li>
                                    </ul>
                                </li>
                            </ul>
                        </nav>
                    </div>
                </div>
                <div class="hotline d-none d-lg-block">
                    <p><i class="fi-rs-headset"></i><span>联系热线</span> 400-821-821 </p>
                </div>
                <p class="mobile-promotion">Happy <span class="text-brand">Mother's Day</span>. Big Sale Up to 40%</p>
                <div class="header-action-right d-block d-lg-none">
                    <div class="header-action-2">
                        <div class="header-action-icon-2">
                            <a href="shop-wishlist.html">
                                <img alt="Evara" src="../../imgs/theme/icons/icon-heart.svg">
                                <span class="pro-count white">4</span>
                            </a>
                        </div>
                        <div class="header-action-icon-2">
                            <a class="mini-cart-icon" href="shop-cart.html">
                                <img alt="Evara" src="../../imgs/theme/icons/icon-cart.svg">
                                <span class="pro-count white">2</span>
                            </a>
                            <div class="cart-dropdown-wrap cart-dropdown-hm2">
                                <ul>
                                    <li>
                                        <div class="shopping-cart-img">
                                            <a href="shop-product-full.html"><img alt="Evara"
                                                                                  src="../../imgs/shop/thumbnail-3.jpg"></a>
                                        </div>
                                        <div class="shopping-cart-title">
                                            <h4><a href="shop-product-full.html">Plain Striola Shirts</a></h4>
                                            <h3><span>1 × </span>￥800.00</h3>
                                        </div>
                                        <div class="shopping-cart-delete">
                                            <a href="#"><i class="fi-rs-cross-small"></i></a>
                                        </div>
                                    </li>
                                    <li>
                                        <div class="shopping-cart-img">
                                            <a href="shop-product-full.html"><img alt="Evara"
                                                                                  src="../../imgs/shop/thumbnail-4.jpg"></a>
                                        </div>
                                        <div class="shopping-cart-title">
                                            <h4><a href="shop-product-full.html">Macbook Pro 2022</a></h4>
                                            <h3><span>1 × </span>￥3500.00</h3>
                                        </div>
                                        <div class="shopping-cart-delete">
                                            <a href="#"><i class="fi-rs-cross-small"></i></a>
                                        </div>
                                    </li>
                                </ul>
                                <div class="shopping-cart-footer">
                                    <div class="shopping-cart-total">
                                        <h4>Total <span>￥383.00</span></h4>
                                    </div>
                                    <div class="shopping-cart-button">
                                        <a href="shop-cart.html">View cart</a>
                                        <a href="shop-checkout.html">Checkout</a>
                                    </div>
                                </div>
                            </div>
                        </div>
                        <div class="header-action-icon-2 d-block d-lg-none">
                            <div class="burger-icon burger-icon-white">
                                <span class="burger-icon-top"></span>
                                <span class="burger-icon-mid"></span>
                                <span class="burger-icon-bottom"></span>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>
</header>
<main class="main">
    <div class="page-header breadcrumb-wrap">
        <div class="container">
            <div class="breadcrumb">
                <a href="/url/index" rel="nofollow">主页</a>
                <span></span> 订单详情
            </div>
        </div>
    </div>
    <section class="mt-50 mb-50">
        <div class="container">
            <div class="row">
                <div class="col-12">
                    <div class="table-responsive">
                        <table class="table shopping-summery text-center">
                            <thead>
                            <tr class="main-heading">
                                <th scope="col" colspan="2">商品</th>
                                <th scope="col">价格</th>
                                <th scope="col">优惠</th>
                                <th scope="col">数量</th>
                                <th scope="col">小计</th>
                                <th scope="col">操作</th>
                            </tr>
                            </thead>
                            <tbody>
                            <tr v-for="item in orderitemList">
                                <td class="image product-thumbnail">
                                    <img v-if="item.product.mainimage == null" src="../../imgs/img.png" alt="#" width="80px" height="80px">
                                    <img v-if="item.product.mainimage != null" :src="item.product.mainimage" alt="#" width="80px" height="80px">
                                </td>
                                <td class="product-des product-name">
                                    <h5 class="product-name"><a :href="'/url/prodetail/'+item.proid" v-text="item.product.name">女士短袖</a></h5>
                                </td>
                                <td class="price" data-title="Price"><span v-text="'￥'+item.product.price">￥65.00 </span></td>
                                <td class="price" data-title="Price"><span v-text="'￥'+item.currentunitprice">￥45.00 </span></td>
                                <td class="price" data-title="Price"><span v-text="item.quantity">1 </span></td>
                                <td class="price" data-title="Price"><span v-text="'￥'+item.totalprice">￥65.00 </span></td>
                                <td class="text-right" data-title="Cart">
                                    <button class="btn btn-sm" @click="showReview(item.id)"><i class="fi-rs-shopping-bag mr-5"></i>
                                        <span v-text="item.fmtStatus">待评价</span>
                                    </button>
                                </td>
                            </tr>
                            </tbody>
                        </table>
                    </div>
                </div>
            </div>
        </div>
    </section>
</main>
<footer class="main">
    <section class="newsletter p-30 text-white wow fadeIn animated">
        <div class="container">
            <div class="row align-items-center">
                <div class="col-lg-7 mb-md-3 mb-lg-0">
                    <div class="row align-items-center">
                        <div class="col flex-horizontal-center">
                            <img class="icon-email" src="../../imgs/theme/icons/icon-email.svg" alt="">
                            <h4 class="font-size-20 mb-0 ml-3">订阅最新信息</h4>
                        </div>
                        <div class="col my-4 my-md-0 des">
                            <h5 class="font-size-15 ml-4 mb-0">立即获取<strong> 25元优惠券
                            </strong>首单购物。</h5>
                        </div>
                    </div>
                </div>
                <div class="col-lg-5">
                    <form class="form-subcriber d-flex wow fadeIn animated">
                        <input type="email" class="form-control bg-white font-small" placeholder="输入邮箱">
                        <button class="btn bg-dark text-white text-nowrap" type="submit">订阅</button>
                    </form>
                </div>
            </div>
        </div>
    </section>
    <section class="section-padding footer-mid">
        <div class="container pt-15 pb-20">
            <div class="row">
                <div class="col-lg-4 col-md-6">
                    <div class="widget-about font-md mb-md-5 mb-lg-0">
                        <div class="logo logo-width-1 wow fadeIn animated">
                            <a href="/url/index"><img src="../../imgs/theme/logo.svg" alt="logo"></a>
                        </div>
                        <h5 class="mt-20 mb-10 fw-600 text-grey-4 wow fadeIn animated">联系方式</h5>
                        <p class="wow fadeIn animated">
                            <strong>地址: </strong>浙江省杭州市余杭区五常街道文一西路969号3幢5层554室
                        </p>
                        <p class="wow fadeIn animated">
                            <strong>电话: </strong>0571-85022088
                        </p>
                        <p class="wow fadeIn animated">
                            <strong>工作时间: </strong>10:00 - 18:00, 周一 - 周日
                        </p>
                        <h5 class="mb-10 mt-30 fw-600 text-grey-4 wow fadeIn animated">关注我们</h5>
                        <div class="mobile-social-icon wow fadeIn animated mb-sm-5 mb-md-0">
                            <a href="#"><img src="../../imgs/theme/icons/icon-facebook.svg" alt=""></a>
                            <a href="#"><img src="../../imgs/theme/icons/icon-twitter.svg" alt=""></a>
                            <a href="#"><img src="../../imgs/theme/icons/icon-instagram.svg" alt=""></a>
                            <a href="#"><img src="../../imgs/theme/icons/icon-pinterest.svg" alt=""></a>
                            <a href="#"><img src="../../imgs/theme/icons/icon-youtube.svg" alt=""></a>
                        </div>
                    </div>
                </div>
                <div class="col-lg-2 col-md-3">
                    <h5 class="widget-title wow fadeIn animated">服装搭配</h5>
                    <ul class="footer-list wow fadeIn animated mb-sm-5 mb-md-0">
                        <li><a href="/url/prolist">女装</a></li>
                        <li><a href="/url/prolist">内衣</a></li>
                        <li><a href="/url/prolist">男装</a></li>
                        <li><a href="/url/prolist">运动户外</a></li>
                        <li><a href="/url/prolist">女鞋</a></li>
                        <li><a href="/url/prolist">男鞋</a></li>
                    </ul>
                </div>
                <div class="col-lg-2  col-md-3">
                    <h5 class="widget-title wow fadeIn animated">箱包首饰</h5>
                    <ul class="footer-list wow fadeIn animated">
                        <li><a href="/url/prolist">箱包</a></li>
                        <li><a href="/url/prolist">美妆</a></li>
                        <li><a href="/url/prolist">个人护理</a></li>
                        <li><a href="/url/prolist">腕表</a></li>
                        <li><a href="/url/prolist">眼镜</a></li>
                        <li><a href="/url/prolist">珠宝饰品</a></li>
                    </ul>
                </div>
                <div class="col-lg-4">
                    <h5 class="widget-title wow fadeIn animated">下载 APP</h5>
                    <div class="row">
                        <div class="col-md-8 col-lg-12">
                            <p class="wow fadeIn animated">通过 App Store 或 Google Play </p>
                            <div class="download-app wow fadeIn animated">
                                <a href="#" class="hover-up mb-sm-4 mb-lg-0"><img class="active"
                                                                                  src="../../imgs/theme/app-store.jpg"
                                                                                  alt=""></a>
                                <a href="#" class="hover-up"><img src="../../imgs/theme/google-play.jpg" alt=""></a>
                            </div>
                        </div>
                        <div class="col-md-4 col-lg-12 mt-md-3 mt-lg-0">
                            <p class="mb-20 wow fadeIn animated">安全支付网关</p>
                            <img class="wow fadeIn animated" src="../../imgs/theme/payment-method.png" alt="">
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </section>
    <div class="container pb-20 wow fadeIn animated">
        <div class="row">
            <div class="col-12 mb-20">
                <div class="footer-bottom"></div>
            </div>
            <div class="col-lg-6">
                <p class="float-md-left font-sm text-muted mb-0">&copy; 2024, <strong class="text-brand">Evara</strong>
                    - 网上购物商城 </p>
            </div>
            <div class="col-lg-6">
                <p class="text-lg-end text-start font-sm text-muted mb-0">
                    Designed by <a href="#" target="_blank">Alithemes.com</a>. All rights
                    reserved
                </p>
            </div>
        </div>
    </div>
</footer>
<div id="preloader-active">
    <div class="preloader d-flex align-items-center justify-content-center">
        <div class="preloader-inner position-relative">
            <div class="text-center">
                <h5 class="mb-5">Now Loading</h5>
                <div class="loader">
                    <div class="bar bar1"></div>
                    <div class="bar bar2"></div>
                    <div class="bar bar3"></div>
                </div>
            </div>
        </div>
    </div>
</div>
<script src="../../js/vendor/modernizr-3.6.0.min.js"></script>
<script src="../../js/vendor/jquery-3.6.0.min.js"></script>
<script src="../../js/vendor/jquery-migrate-3.3.0.min.js"></script>
<script src="../../js/vendor/bootstrap.bundle.min.js"></script>
<script src="../../js/plugins/slick.js"></script>
<script src="../../js/plugins/jquery.syotimer.min.js"></script>
<script src="../../js/plugins/wow.js"></script>
<script src="../../js/plugins/jquery-ui.js"></script>
<script src="../../js/plugins/perfect-scrollbar.js"></script>
<script src="../../js/plugins/magnific-popup.js"></script>
<script src="../../js/plugins/select2.min.js"></script>
<script src="../../js/plugins/waypoints.js"></script>
<script src="../../js/plugins/counterup.js"></script>
<script src="../../js/plugins/jquery.countdown.min.js"></script>
<script src="../../js/plugins/images-loaded.js"></script>
<script src="../../js/plugins/isotope.js"></script>
<script src="../../js/plugins/scrollup.js"></script>
<script src="../../js/plugins/jquery.vticker-min.js"></script>
<script src="../../js/main.js?v=3.4"></script>
<script src="../../js/shop.js?v=3.4"></script>
<script src="../../js/vue.global.js"></script>
<script src="../../js/axios.min.js"></script>
</body>
<script>
    const app = {
        data() {
            return {
                orderitemList: []
            }
        },
        methods: {
            showReview: function (id) {
                location.href = '/url/review/' + id
            },
            listProduct: function () {
                location.href = '/url/prolist?keyword=' + this.keyword
            },
        },
        created() {
            let _this = this
            let params = location.pathname.split('/url/orderdetail/');
            let id = params[1]
            axios.get('/order/orderdetail/'+id)
                .then((response) => {
                    _this.orderitemList = response.data.data
                })
                .catch((error) => {
                    console.error(error);
                    alert('初期化错误')
                })
        }
    }
    Vue.createApp(app).mount('body')
</script>
</html>